/**
 * @projectName: com.xiayuanxing.designPattern
 * @className: Person
 * @author: xiayuanxing
 * @description: TODO
 * @date: 2022/1/5 15:23
 * @version: 1.0
 */
public abstract class Person {

    //提供一个方法，让访问者可以访问
    public abstract void accept(Action action);


}
